{include file="common/_meta" /}
<title></title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>会员管理 <span class="c-gray en">&gt;</span> 会员列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
<!-- 	<div class="text-c">
		<form class="Huiform" method="get" action="">
			状态：
			<span class="select-box inline">
				<select name="acc_type" class="select" >
					<option value="">全部</option> 
					<option value="1">KR币</option> 
					<option value="2">糖果币</option>
					<option value="3">回购币</option>
					<option value="4">商城币</option>
				</select>
			</span>
			<input type="text" class="input-text" style="width:250px" placeholder="会员姓名、手机号" id="" name="keywords" value="{$Request.get.keywords|default=''}">
		
			<button type="submit" class="btn btn-success radius" id="" name="name">
				<i class="Hui-iconfont">&#xe665;</i>
				搜索
			</button>
		</form>
	</div> -->
	<div class="cl pd-5 bg-1 bk-gray mt-20"><span class="r">共有数据：<strong>{$list->total()}</strong> 条</span> </div>
	<div class="mt-20">
	<table class="table table-border  table-hover table-bg table-sort">
		<thead>
			<tr class="text-c">
				<th width="25"><input type="checkbox" name="" value=""></th>
				<th >编号</th>
				<th >会员姓名</th>
				<th>电话</th>
				<th >账户类型</th>
				<th >变动数目</th>
				<th >备注</th>
				<th >时间</th>
			</tr>
		</thead>
		<tbody>
			{volist name='list' id="vo"}
				<tr class="text-c">
					<td><input type="checkbox" value="1" name=""></td>
					<td>{$i}</td>
					<td>{$vo.username}</td>
					<td>{$vo.mobile}</td>
					<td>
						{:config('coinText.'.$vo.acc_type)}
					</td>
					<td>{$vo.num}</td>
					<td>{$vo.note}</td>
					<td>{$vo.create_time}</td>
				</tr>
			{/volist}
		</tbody>
	</table>
	<div class="pages" style="margin:20px;float: right; ">{$list->render()}</div>
	</div>
</div>
{include file="common/_footer" /}
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript">
	$('select[name="acc_type"]').val({$Request.get.acc_type});
	// 系统搜索
	$(function(){
	  $('.table-sort').dataTable({
	    "aaSorting": [[ 0, "desc" ]],//默认第几个排序
	    "bStateSave": true,//状态保存
	    "aoColumnDefs": [
	      //{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
	      {"orderable":false,"aTargets":[0,2,4]}// 制定列不参与排序
	    ]
	  });
	});
</script> 
</body>
</html>